]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
run-js-test: Do not use the default stage
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 15 Dec 2011 23:14:15 +0000 (00:14 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 15 Dec 2011 23:18:17 +0000 (00:18 +0100)
This was left out in commit faff0738eb.

src/run-js-test.c

index 5ee6ac86939ab73a38b7358cc91a18b883f81623..1fefe292f43b26868bf05694b10161e8dec94051 100644 (file)
@@ -63,7 +63,6 @@ int
 main(int argc, char **argv)
 {
   GOptionContext *context;
-  ClutterActor *stage;
   GError *error = NULL;
   ShellGlobal *global;
   GjsContext *js_context;
@@ -124,9 +123,8 @@ main(int argc, char **argv)
     filename = argv[1];
   }
 
-  stage = clutter_stage_get_default ();
   title = g_filename_display_basename (filename);
-  clutter_stage_set_title (CLUTTER_STAGE (stage), title);
+  g_set_prgname (title);
   g_free (title);
 
 #if HAVE_BLUETOOTH